<!doctype html>
<html>
<head>        	
	<meta name="renderer" content="webkit">
	<meta http-equiv="content-language" content="zh-cn"/>	
    <meta http-equiv="x-ua-compatible" content="ie=edge">
	<meta http-equiv="content-type" content="text/html; charset=utf-8"/>	
	<title>{kpcp:head type='request' field='title'/}</title>	
	<meta name="keywords" content="{kpcp:head type='request' field='keyword'/}" />
	<meta name="description" content="{kpcp:head type='request' field='keydesc'/}" />
	<link rel="stylesheet" type="text/css" href="/skin/kp.themes.css"/>	
</head>
<body>
{kpcp:common template='header'/}
{kpcp:common template='iaa'/}
<div class="item shadow">
	<div class="navtab">
		<h3 class="title">热门分类</h3>
	</div>
	<div class="clear"></div>
	<div class="frame catalog">
		<ul id="navi">
			<li><a href="/{kpcp:filename/}" class="fixed">全部</a></li>
			{kpcp:item type='catalog' row='0' cond='type=|goods|' sort='pid' rank='asc'}
			<li><a href="[field:id function='geturl@request,list,[id],1'/]">[field:title/]</a></li>
			{/kpcp:item}
		</ul>
		<ul class="sort">
			<li>
				<a href="/{kpcp:filename/}" class="fixed">默认</a>
				<a href="/{kpcp:filename/}/filter/sale/asc">销量<i></i></a>
				<a href="/{kpcp:filename/}/filter/price/asc">价格<i class="p"></i></a>
				<a href="/{kpcp:filename/}/filter/comment/asc">好评<i></i></a>
				<a href="/{kpcp:filename/}/filter/coupon/limit" class="c">优惠券<i></i></a>
			</li>
			<li class="plat">
				<a href="/{kpcp:filename/}/filter/platform/tm" class="tm"><i></i>天猫</a>
				<a href="/{kpcp:filename/}/filter/platform/tb" class="tb"><i></i>淘宝</a>				
			</li>
			<li class="filter">
				<em>价格：</em>
				<input type="text" placeholder="0" id="sprice"/>
				<em>-</em>
				<input type="text" placeholder="999" id="eprice"/>
				<tt></tt>
				<em>销量：</em>
				<input type="text" placeholder="0" id="ssale"/>
				<em>-</em>
				<input type="text" placeholder="999" id="esale"/>
				<a href="javascript:void(0)" onclick="kp.filter()">筛选</a>
			</li>
		</ul>
		<div class="clear"></div>
	</div>	
	<div class="frame imglist">
		<ul>
		{kpcp:lists type='request' psize='16' sort='udatetimes' rank='desc'}
			<li[field:num function='setskin@0,4,nomargin'/]>
				<a href="[field:id function='geturl@request,details,[id]'/]" class="img" target="_blank"><img src="[field:litpic/]" alt="[field:title/]"/></a>
				<pre>
				<p><a href="[field:id function='geturl@request,details,[id]'/]" target="_blank">[field:title/]</a></p></pre>
				<label class="price">
					<em>￥[field:price,discount function='format@m,[price],[discount]'/]</em>
					<em class="r">原价 ￥[field:price function='format@p,[price]'/]</em>
				</label>
				<label><i class="[field:platform/]"></i>[field:store/]</label>
				<label>
				<i class="cp"></i>[field:discount function='format@r,[discount]'/]，剩余<b>[field:mintotal function='format@d,[mintotal]'/]</b>张				
				</label>
				<a href="javascript:void(0)" class="coupon" onclick="kp.addcar(1,[field:id/],[field:price function='format@p,[price]'/],'[field:title/]','[field:litpic/]','[field:id function='geturl@activity,details,[id]'/]')">加入购物车</a>
			</li>
		{/kpcp:lists}
		</ul>
	<div class="clear"></div>
	</div>
	<div class="clear"></div>
</div>
<div id="page">
	{kpcp:page type='request' psize='16'/}	
	<div class="clear"></div>
</div>
{kpcp:common template="footer"/}
</body>
</html>